//2009/08/18 22:43:42
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class DiagonalDisproportion
{
public:
    int getDisproportion(vector <string> matrix)
    {
		int sum = 0;
		for(int i=0; i<matrix.size(); i++)
			sum += matrix[i][i] - matrix[i][matrix.size() -i -1];
		return sum;
    }
};
